<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
	   
<html>
  <head>

    <!-- metas -->
    <meta http-equiv="content-type" content="text/html;charset=UTF-8" />

    <title><%=h (yield(:title) || "TEMDB - The Everything Music Database") %></title>

    <!-- JS -->
    <%= javascript_include_tag 'application' %>
    <%= javascript_include_tag 'prototype' %>
    <%= javascript_include_tag 'effects' %>
    <%= javascript_include_tag 'scriptaculous.js?load=effects' %>
    <%= javascript_include_tag 'lightwindow' %>

    <!-- CSS -->
    <%= stylesheet_link_tag 'main' %>
    <%= stylesheet_link_tag 'main-1' %>
    <%= stylesheet_link_tag 'lightwindow' %>

    <!--[if !IE 7]>
      <style type="text/css">
        #wrap {display:table;height:100%}
      </style>
    <![endif]-->

  </head>

  <body>
    <div id="flash">
      <%- flash.each do |name, msg| -%>
        <%= content_tag :div, msg, :id => "flash_#{name}" %>
      <%- end -%>
    </div><!-- /flash -->
 
    <%= yield %>

  </body>

</html>
